package com.dime.physical.mapper;

import java.util.List;
import com.dime.physical.domain.DimeInquirycurrentdiseases;

/**
 * 问诊现患疾病Mapper接口
 * 
 * @author Tiny
 * @date 2023-10-07
 */
public interface DimeInquirycurrentdiseasesMapper 
{
    /**
     * 查询问诊现患疾病
     * 
     * @param id 问诊现患疾病主键
     * @return 问诊现患疾病
     */
    public DimeInquirycurrentdiseases selectDimeInquirycurrentdiseasesById(String id);

    /**
     * 查询问诊现患疾病列表
     * 
     * @param dimeInquirycurrentdiseases 问诊现患疾病
     * @return 问诊现患疾病集合
     */
    public List<DimeInquirycurrentdiseases> selectDimeInquirycurrentdiseasesList(DimeInquirycurrentdiseases dimeInquirycurrentdiseases);

    /**
     * 新增问诊现患疾病
     * 
     * @param dimeInquirycurrentdiseases 问诊现患疾病
     * @return 结果
     */
    public int insertDimeInquirycurrentdiseases(DimeInquirycurrentdiseases dimeInquirycurrentdiseases);

    /**
     * 修改问诊现患疾病
     * 
     * @param dimeInquirycurrentdiseases 问诊现患疾病
     * @return 结果
     */
    public int updateDimeInquirycurrentdiseases(DimeInquirycurrentdiseases dimeInquirycurrentdiseases);

    /**
     * 删除问诊现患疾病
     * 
     * @param id 问诊现患疾病主键
     * @return 结果
     */
    public int deleteDimeInquirycurrentdiseasesById(String id);

    /**
     * 批量删除问诊现患疾病
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDimeInquirycurrentdiseasesByIds(String[] ids);

    public List<DimeInquirycurrentdiseases> selectDimeInquirycurrentdiseasesByPhysicalId(String physicalId);

    public  int deleteDimeInquirycurrentdiseasesByPhysicalId(String physicalId);
}
